package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【教室】对象 tb_classroom
 * 
 * @author ruoyi
 * @date 2024-06-11
 */
public class TbClassroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 教室号 */
    @Excel(name = "教室号")
    private Long crId;

    /** 教室名称 */
    @Excel(name = "教室名称")
    private String crName;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long crNumber;

    /** 教室位置 */
    @Excel(name = "教室位置")
    private String crLocation;

    /** 所属校区 */
    @Excel(name = "所属校区")
    private String crCampus;

    /** 所诉院系 */
    @Excel(name = "所诉院系")
    private String crDepartment;

    /** 类型 */
    @Excel(name = "类型")
    private String crType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCrId(Long crId) 
    {
        this.crId = crId;
    }

    public Long getCrId() 
    {
        return crId;
    }
    public void setCrName(String crName) 
    {
        this.crName = crName;
    }

    public String getCrName() 
    {
        return crName;
    }
    public void setCrNumber(Long crNumber) 
    {
        this.crNumber = crNumber;
    }

    public Long getCrNumber() 
    {
        return crNumber;
    }
    public void setCrLocation(String crLocation) 
    {
        this.crLocation = crLocation;
    }

    public String getCrLocation() 
    {
        return crLocation;
    }
    public void setCrCampus(String crCampus) 
    {
        this.crCampus = crCampus;
    }

    public String getCrCampus() 
    {
        return crCampus;
    }
    public void setCrDepartment(String crDepartment) 
    {
        this.crDepartment = crDepartment;
    }

    public String getCrDepartment() 
    {
        return crDepartment;
    }
    public void setCrType(String crType) 
    {
        this.crType = crType;
    }

    public String getCrType() 
    {
        return crType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("crId", getCrId())
            .append("crName", getCrName())
            .append("crNumber", getCrNumber())
            .append("crLocation", getCrLocation())
            .append("crCampus", getCrCampus())
            .append("crDepartment", getCrDepartment())
            .append("crType", getCrType())
            .toString();
    }
}
